﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="PTWGL.aspx.cs" Inherits="H2.NET.Web.Pages.PTWGL" %>
<%@ Register Assembly="H2.NET.Controls" Namespace="H2.NET.Controls" TagPrefix="H2" %>
<%@ Register Assembly="Anthem" Namespace="Anthem" TagPrefix="anthem" %>
<%@ Register Src="../../Controls/AssessmentList.ascx" TagName="AssessmentList" TagPrefix="uc1" %>
<%@ Register src="../../Controls/AssessmentExtend.ascx" tagname="Assessment" tagprefix="uc2" %>
<%@ Register src="../../Controls/Attachment.ascx" tagname="Attachment" tagprefix="uc3" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
    <link type="text/css" rel="stylesheet" href="../../Resource/Css/Style.css" />    
</head>
<body>
    <form id="form" runat="server">
    <div id="PRINT_A" style="width: 800px; border: solid 1px #D0D0BF">
    <!--标题-->
    <div style="border-bottom:solid 1px #D0D0BF"> 
        <table>
            <tr>
                <td style="width:140px;height:40px;"><img alt="" src="../../Resource/Images/Logo_AkzoNobel.gif" /></td>
                <td style="font-size:13px;"><b>TW G/L Account Master Form</b>&nbsp;&nbsp;&nbsp;&nbsp;<anthem:Label ID="INFO" runat="server" ForeColor="Red" AutoUpdateAfterCallBack="true"></anthem:Label></td>
                <td style="width:160px;" align="left">No: <anthem:Label ID="ApplicationNo" runat="server" AutoUpdateAfterCallBack="true"></anthem:Label></td>
            </tr>
        </table>
    </div>
    
        <div>
    <table>
        <tr>
            <td colspan="2" style="height:8px;"></td>
        </tr>
        <tr>
            <td style="width:1px;"></td>
            <td style="width:100px;">
                <anthem:DropDownList ID="Actions" runat="server" AutoCallBack="true" 
                    EnableCallBack="true" AutoUpdateAfterCallBack="true" Width="108" onselectedindexchanged="Actions_SelectedIndexChanged">
                    <asp:ListItem Text="1, Create" Value="1" Selected="True"></asp:ListItem>
                    <asp:ListItem Text="2, Revise" Value="2"></asp:ListItem>
                    <asp:ListItem Text="3, Lock" Value="3"></asp:ListItem>
                    <asp:ListItem Text="4, Unlock" Value="4"></asp:ListItem>
                </anthem:DropDownList>
            </td>
            <td style="width:100px;"></td>
             <td style="width:100px;"></td>
             <td style="width:100px;"></td>
             <td style="width:100px;"></td> 
             <td style="width:100px;"></td> 
            <td>           <anthem:Label ID="DrpPriority_L" Text="Priority" runat="server" 
                            AutoUpdateAfterCallBack="True" UpdateAfterCallBack="True" ></anthem:Label>
                    <anthem:DropDownList ID="DrpPriority" runat="server" AutoCallBack="true" 
                            EnableCallBack="true" AutoUpdateAfterCallBack="true" CssClass="text" 
                            Width="108" >
                        <asp:ListItem Text=""></asp:ListItem>
                        <asp:ListItem Text="Urgent" Value="1"></asp:ListItem>
                        <asp:ListItem Text="High" Value="2"></asp:ListItem>
                        <asp:ListItem Text="Routine" Value="3"></asp:ListItem>
                    </anthem:DropDownList>
                    </td>  
        </tr>
    </table>        
    </div>     
 
        <div style="margin:2px;">
        <fieldset>
            <legend>
                Initial Screen
            </legend>
            <table>
                
                <tr><td colspan="4" style="height:6px;"></td></tr>         
                <tr>
                    <td style="width:110px;"><anthem:Label ID="IS_GL_Account_L" Text="G/L Account:" runat="server"></anthem:Label></td>
                    <td >
                       <anthem:TextBox ID="IS_GL_Account" runat="server" 
                            AutoUpdateAfterCallBack="true" Width="154" ></anthem:TextBox> 
                    </td>
                </tr>
                <tr>
                    <td style="width:110px;"><anthem:Label ID="IS_Company_Code_L" Text="Company Code:" ontextchanged="RE_Cost_Center_TextChanged" AutoUpdateAfterCallBack="true" AutoCallBack="true" EnableCallBack="true"  runat="server"></anthem:Label></td>
                    <td >
                        <anthem:TextBox ID="IS_Company_Code" runat="server" 
                            AutoUpdateAfterCallBack="true" Width="154" ></anthem:TextBox> 
                    </td>
                  </tr>
                
            </table>
          </fieldset>
        </div>
     
        <div style="margin:2px;">
        <fieldset>
            <legend>
                Reference
            </legend>
            <table>
                
                <tr><td colspan="3" style="height:6px;"></td></tr>         
                <tr>
                    <td style="width:110px;"><anthem:Label ID="RE_GL_Account_L" Text="G/L Account:" runat="server"></anthem:Label></td>
                    <td >
                       <anthem:TextBox ID="RE_GL_Account" runat="server" 
                            AutoUpdateAfterCallBack="true" Width="154" ></anthem:TextBox> 
                    </td>
                </tr>
                <tr>
                    <td style="width:110px;"><anthem:Label ID="RE_Company_Code_L" Text="Company Code:" ontextchanged="RE_Cost_Center_TextChanged" AutoUpdateAfterCallBack="true" AutoCallBack="true" EnableCallBack="true"  runat="server"></anthem:Label></td>
                     <td>
                       <anthem:TextBox ID="RE_Company_Code" runat="server" AutoUpdateAfterCallBack="true" Width="154" ></anthem:TextBox> 
                    
                      </td>
                  </tr>
            </table>
          </fieldset>
        </div>
      
        <div style="margin:2px;">
        <fieldset>
            <legend>
                Account Control In Company Code
            </legend>
            <table>
                
                <tr><td colspan="4" style="height:6px;"></td></tr>         
                <tr>
                    <td style="width:110px;"><anthem:Label ID="Account_Currency_L" Text="Account Currency:" AutoUpdateAfterCallBack="true" AutoCallBack="true" EnableCallBack="true"  runat="server"></anthem:Label></td>
                    <td >
                        <anthem:DropDownList ID="Account_Currency" runat="server" 
                            AutoUpdateAfterCallBack="true" Width="305" ></anthem:DropDownList></td>
                </tr>
                <tr>
                    <td ><anthem:Label ID="Only_Balance_L" Text="Only balances<br/> in local crcy:" runat="server" AutoUpdateAfterCallBack="true" AutoCallBack="true" EnableCallBack="true" ></anthem:Label></td>
                    <td >
                        <anthem:CheckBox ID="Only_Balance" runat="server" 
                            AutoUpdateAfterCallBack="true" Width="305" ></anthem:CheckBox></td>
                </tr> 
                <tr>
                    <td style="width:110px;"><anthem:Label ID="Tax_Category_L" Text="Tax Category:" AutoUpdateAfterCallBack="true" AutoCallBack="true" EnableCallBack="true" runat="server"></anthem:Label></td>
                    <td >
                       <anthem:DropDownList ID="Tax_Category" runat="server" 
                            AutoUpdateAfterCallBack="true" Width="305" >
                          <asp:ListItem Text="" Value="" Selected="True"></asp:ListItem> 
                           <asp:ListItem Text="-  Only input tax allowed" Value="-  Only input tax allowed"></asp:ListItem> 
                           <asp:ListItem Text="+  Only output tax allowed" Value="+  Only output tax allowed"></asp:ListItem>  
                           <asp:ListItem Text=" *  All tax types allowed" Value=" *  All tax types allowed"></asp:ListItem> 
                        </anthem:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td ><anthem:Label ID="Without_Tax_L" Text="Posting without <br/>tax allowed:" runat="server" AutoUpdateAfterCallBack="true" AutoCallBack="true" EnableCallBack="true" ></anthem:Label></td>
                    <td >
                        <anthem:CheckBox ID="Without_Tax" runat="server" 
                            AutoUpdateAfterCallBack="true" Width="305" ></anthem:CheckBox></td>
                </tr> 
                <tr>
                    <td style="width:110px;"><anthem:Label ID="Recon_Account_L" Text="Recon. Account<br/> for acct type:" AutoUpdateAfterCallBack="true" AutoCallBack="true" EnableCallBack="true"  runat="server"></anthem:Label></td>
                    <td >
                       <anthem:DropDownList ID="Recon_Account" runat="server" 
                            AutoUpdateAfterCallBack="true" Width="305" >
                          <asp:ListItem Text="" Value="" Selected="True"></asp:ListItem> 
                           <asp:ListItem Text="A,Assets" Value="A,Assets"></asp:ListItem> 
                           <asp:ListItem Text="D,Customers" Value="D,Customers"></asp:ListItem>  
                           <asp:ListItem Text="K,Vendors" Value="K,Vendors"></asp:ListItem> 
                           <asp:ListItem Text="V,Contract accounts receivable" Value="V,Contract accounts receivable"></asp:ListItem> 
                        </anthem:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td style="width:110px;"><anthem:Label ID="Account_No_L" Text="Alternative Account No:" runat="server" AutoUpdateAfterCallBack="true" AutoCallBack="true" EnableCallBack="true"  ></anthem:Label></td>
                    <td >
                       <anthem:TextBox ID="Account_No" runat="server" 
                            AutoUpdateAfterCallBack="true" Width="305" ></anthem:TextBox> 
                    </td>
                </tr>
            </table>
          </fieldset>
        </div>
      
        <div style="margin:2px;">
        <fieldset>
            <legend>
                Account Management In Company Code
            </legend>
            <table>
                
                <tr><td colspan="4" style="height:6px;"></td></tr>         
                <tr>
                    <td style="width:110px;"><anthem:Label ID="Open_Item_L" Text="Open item<br/>management:" runat="server" AutoUpdateAfterCallBack="true" AutoCallBack="true" EnableCallBack="true" ></anthem:Label></td>
                    <td >
                        <anthem:CheckBox ID="Open_Item" runat="server" 
                            AutoUpdateAfterCallBack="true" Width="305" ></anthem:CheckBox></td>
                </tr> 
                <tr>
                    <td style="width:110px;"><anthem:Label ID="Line_Item_L" Text="Line item display:" runat="server" AutoUpdateAfterCallBack="true" AutoCallBack="true" EnableCallBack="true" ></anthem:Label></td>
                    <td >
                        <anthem:CheckBox ID="Line_Item" runat="server" 
                            AutoUpdateAfterCallBack="true" Width="305" ></anthem:CheckBox></td>
                </tr> 
                <tr>
                    <td style="width:110px;"><anthem:Label ID="Sort_key_L" Text="Sort key:" AutoUpdateAfterCallBack="true" AutoCallBack="true" EnableCallBack="true"  runat="server"></anthem:Label></td>
                    <td >
                       <anthem:DropDownList ID="Sort_key"  runat="server" AutoUpdateAfterCallBack="true" Width="154" >
                            </anthem:DropDownList>
                    </td>
                </tr>
                 <tr>
                    <td style="width:110px;"><anthem:Label ID="Accounting_Clerk_L" Text="Accounting Clerk:" runat="server"></anthem:Label></td>
                    <td >
                       
                        <anthem:TextBox ID="Accounting_Clerk" runat="server" 
                            AutoUpdateAfterCallBack="true" Width="154"></anthem:TextBox>
                    </td>
                </tr>
            </table>
          </fieldset>
        </div>
        
        <div style="margin:2px;">
        <fieldset>
            <legend>
                Control of Document Creation In Company Code
            </legend>
            <table>
                
                <tr><td colspan="4" style="height:6px;"></td></tr>         
                <tr>
                    <td style="width:110px;"><anthem:Label ID="Field_Status_Group_L" Text="Field status group:" runat="server" AutoUpdateAfterCallBack="true" AutoCallBack="true" EnableCallBack="true" ></anthem:Label></td>
                    <td >
                       <anthem:DropDownList ID="Field_Status_Group"  runat="server"
                            AutoUpdateAfterCallBack="true" Width="305" ></anthem:DropDownList>
                    </td>
                </tr> 
                <tr>
                    <td style="width:110px;"><anthem:Label ID="Post_Automatically_Only_L" Text="Post automatically only:" runat="server" AutoUpdateAfterCallBack="true" AutoCallBack="true" EnableCallBack="true" ></anthem:Label></td>
                    <td >
                        <anthem:CheckBox ID="Post_Automatically_Only" runat="server" 
                            AutoUpdateAfterCallBack="true" Width="305" ></anthem:CheckBox></td>
                </tr> 
            </table>
          </fieldset>
        </div>
         
        <div style="margin:2px;">
        <fieldset>
            <legend>
                Bank/Financial Details in Company Code 
            </legend>
            <table>
                
                <tr><td colspan="4" style="height:6px;"></td></tr>         
                <tr>
                    <td style="width:110px;"><anthem:Label ID="Planning_Level_L" Text="Planning level:" runat="server" AutoUpdateAfterCallBack="true" AutoCallBack="true" EnableCallBack="true" ></anthem:Label></td>
                    <td >
                       <anthem:DropDownList ID="Planning_Level"  runat="server"
                            AutoUpdateAfterCallBack="true" Width="305" ></anthem:DropDownList>
                    </td>
                </tr> 
                <tr>
                    <td style="width:110px;"><anthem:Label ID="Relevant_To_Cash_L" Text="Relevant to cash flow:" runat="server" AutoUpdateAfterCallBack="true" AutoCallBack="true" EnableCallBack="true" ></anthem:Label></td>
                    <td >
                        <anthem:CheckBox ID="Relevant_To_Cash" runat="server" 
                            AutoUpdateAfterCallBack="true" Width="305" ></anthem:CheckBox></td>
                </tr> 
            </table>
          </fieldset>
        </div>
        
        <div style="margin:2px;">
        <fieldset>
            <legend>
                Edit Cost Element 
            </legend>
            <table>
                
                <tr><td colspan="4" style="height:6px;"></td></tr>         
                <tr>
                    <td style="width:110px;"><anthem:Label ID="Yes_No_L" Text="Yes / No:" runat="server" AutoUpdateAfterCallBack="true" AutoCallBack="true" EnableCallBack="true" ></anthem:Label></td>
                    <td >
                       <anthem:DropDownList ID="Yes_No"  runat="server" AutoCallBack="True" 
                            AutoUpdateAfterCallBack="true" Width="154" 
                            onselectedindexchanged="Yes_No_SelectedIndexChanged" >
                          <asp:ListItem Text="" Value="" Selected="True"></asp:ListItem> 
                           <asp:ListItem Text="Yes" Value="Yes"></asp:ListItem> 
                           <asp:ListItem Text="No" Value="No"></asp:ListItem>    
                            </anthem:DropDownList>
                    </td>
                </tr> 
                <tr>
                    <td style="width:110px;"><anthem:Label ID="Cost_Element_Category_L" Text="Cost Element Category:" runat="server"  AutoUpdateAfterCallBack="true"  UpdateAfterCallBack="True"  ></anthem:Label></td>
                    <td >
                        <anthem:DropDownList ID="Cost_Element_Category" runat="server" 
                            AutoUpdateAfterCallBack="true" Width="305" ></anthem:DropDownList> </td>
                </tr> 
                <tr>
                    <td style="width:110px;"><anthem:Label ID="Financial_Statement_L" Text="Financial Statement Version Node(CN00):" runat="server" AutoUpdateAfterCallBack="true" AutoCallBack="true" EnableCallBack="true" ></anthem:Label></td>
                    <td >
                       <anthem:TextBox ID="Financial_Statement"  runat="server"
                            AutoUpdateAfterCallBack="true" Width="305" ></anthem:TextBox>
                    </td>
                 </tr>
            </table>
          </fieldset>
        </div>
        
       
            
 


            

    
    
    
    <div style="margin:2px;">
        <fieldset>
            <legend>
            Attachments
                        </legend>
            <table> 
              <tr><td colspan="2" style="height:6px;"></td></tr>  
              <tr>
                  <td style="width:110px;" valign="top">Attachments:</td> 
                  <td><div style="width:500px;"><uc3:Attachment ID="Attachment1" runat="server" /></div></td>
              </tr>
            </table>
        </fieldset>
    </div> 
             <anthem:Panel ID="P_DMO" runat="server" AutoUpdateAfterCallBack="true" Visible="false">  
       <div  style="margin:2px;">
            <fieldset>
                <legend>
                   DMO 
                </legend>
                   <table border="0px">
                     <tr>
            <td align="center" class="style3"><anthem:Label ID="DMO_DrpPriority_L" Text="Priority" runat="server" AutoUpdateAfterCallBack="true"></anthem:Label></td>
            <td class="style3"><anthem:DropDownList ID="DMO_DrpPriority" runat="server" AutoCallBack="true" EnableCallBack="true" AutoUpdateAfterCallBack="true"   CssClass="text" Width="100">
                        <asp:ListItem Text=""></asp:ListItem>
                        <asp:ListItem Text="Urgent" Value="1"></asp:ListItem>
                        <asp:ListItem Text="High" Value="2"></asp:ListItem>
                        <asp:ListItem Text="Routine" Value="3"></asp:ListItem>
                 </anthem:DropDownList>
            </td>
        </tr>

                    </table>

                    
            </fieldset>
        </div> 
      </anthem:Panel>
       <!-- <div style="margin:2px;">
            <fieldset>
                <legend>
                   DMO 
                </legend>
                <table> 
                    <tr><td style="width:111px;" valign="top">SAP Code:</td>
                        <td><anthem:TextBox ID="SAP_Code" runat="server" TextMode="MultiLine" Height="60" Width="624" AutoUpdateAfterCallBack="true"></anthem:TextBox></td>
                    </tr>
                </table>
            </fieldset>
        </div> -->
        
        <div style="margin:2px;">
            <table width="100%">
                <tr><td><uc1:AssessmentList ID="AssessmentList1" runat="server" /></td></tr>
            </table>
        </div>
        
        <div style="margin:2px;">
            <table width="100%">
		<tr><td style="height:10px;"></td></tr>
                <tr><td><uc2:Assessment ID="Assessment1" runat="server" /></td></tr>
            </table>
        </div>
        
        <div>
            <table width="100%">
                <tr><td style="height:6px;"></td></tr>
                <tr>
                    <td style="width:114px;"></td>
                    <td>
                        <anthem:Button ID="Send" runat="server" Text="<%$ Resources:Global,C_00_Submit %>" PreCallBackFunction="Submit_PreCallBack" AutoUpdateAfterCallBack="true" EnableCallBack="true" OnClick="Send_Click" />
                        <anthem:Label ID="Split" runat="server" Width="10" AutoUpdateAfterCallBack="true"></anthem:Label>
                        <anthem:Button ID="Close" runat="server" Text="<%$ Resources:Global,C_00_Close %>" OnClientClick="window.close();" />
                    </td>
                </tr>
                
            </table>
        </div>
        
        <div style="height:10px;">
        </div>
    </div>
    </form>
</body>
</html>
